using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Ledict.ConditionExtract.Model {

	/// <summary>
	/// 效力等级表
	/// </summary>
	[JsonObject(MemberSerialization.OptIn)]
	public partial class SYS_EffectiveGrade {

		/// <summary>
		/// 法规效力等级Code
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string E_Code { get; set; } = string.Empty;

		/// <summary>
		/// 法规效力等级编号
		/// </summary>
		[JsonProperty, Column(IsIdentity = true)]
		public int E_ID { get; set; }

		/// <summary>
		/// 法规效力等级名称
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string E_Name { get; set; } = string.Empty;

		/// <summary>
		/// 法规效力父级code
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string E_ParentCode { get; set; } = string.Empty;

		/// <summary>
		/// 是否要内容分类推导的效力等级配置
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(5)")]
		public string E_Selected { get; set; } = string.Empty;

		/// <summary>
		/// 是否为地方类（1：是；0：不是）
		/// </summary>
		[JsonProperty, Column(Name = "eg_isarea")]
		public byte? Eg_isarea { get; set; }

		/// <summary>
		/// 排序字段
		/// </summary>
		[JsonProperty, Column(Name = "eg_sort")]
		public int? Eg_sort { get; set; }

	}

}
